-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Partition family of APIs use reduce_then_scan algorithm #1764
Conversation
1985c58
to
973e261
Compare
013c496
to
dadb933
Compare
973e261
to
91120af
Compare
dadb933
to
eafdcc0
Compare
91120af
to
b517414
Compare
eafdcc0
to
c7c043e
Compare
b517414
to
d85ce61
Compare
c7c043e
to
d2f9639
Compare
d85ce61
to
df6abff
Compare
d2f9639
to
6cbb5dd
Compare
df6abff
to
e33efaa
Compare
6cbb5dd
to
06da0e2
Compare
e33efaa
to
5f4882a
Compare
06da0e2
to
edf26c5
Compare
5f4882a
to
522d0af
Compare
edf26c5
to
1ae6489
Compare
522d0af
to
6696396
Compare
1ae6489
to
aae11db
Compare
6696396
to
f757df5
Compare
aae11db
to
207bfed
Compare
f757df5
to
3301a89
Compare
81d9e2b
to
e35fe10
Compare
8f2cd6a
to
44bab2f
Compare
e35fe10
to
d318354
Compare
44bab2f
to
a93f24f
Compare
d318354
to
1da7875
Compare
a93f24f
to
cf5a6be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I would hold off merging this until the main patch was merged.
1da7875
to
8601892
Compare
cf5a6be
to
c8298cb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one also LGTM, after rebasing.
8601892
to
df02a01
Compare
c8298cb
to
040a1ef
Compare
df02a01
to
75c55c4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after a rebase.
This reverts commit 3d69c3c.
Signed-off-by: Dan Hoeflinger <[email protected]>
Signed-off-by: Dan Hoeflinger <[email protected]>
Signed-off-by: Dan Hoeflinger <[email protected]>
Signed-off-by: Dan Hoeflinger <[email protected]>
Signed-off-by: Dan Hoeflinger <[email protected]>
Signed-off-by: Dan Hoeflinger <[email protected]>
Signed-off-by: Dan Hoeflinger <[email protected]>
Signed-off-by: Dan Hoeflinger <[email protected]>
040a1ef
to
bd6aba6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR changes partition family of scan-like algorithms to use reduce_then_scan where it is beneficial.
Moves all algorithm selection decisions to __parallel_partition_copy.
This PR is targeted to #1763, to allow for a clean diff, and is a part of the following sequence of PRs meant to be merged in order:
#1769 [MERGED]
Relocate __lazy_ctor_storage to utils header#1770 [MERGED]
Use __result_and_scratch_storage within scan kernels#1762 Add reduce_then_scan algorithm for transform scan family
#1763 Make Copy_if family of APIs use reduce_then_scan algorithm
#1764 Make Partition family of APIs use reduce_then_scan algorithm (This PR)
#1765 Make Unique family of APIs use reduce_then_scan algorithm
This work is a collaboration between @mmichel11 @adamfidel and @danhoeflinger, and based upon an original prototype by Ted Painter.